| Fully Qualified Name: | Laminas\EventManager\ResponseCollection |
| Extends: | SplStack |
Collection of signal handler return values
| Name | Description | Defined By |
|---|---|---|
| contains() | Check if any of the responses match the given value. | ResponseCollection |
| first() | Convenient access to the first handler return value. | ResponseCollection |
| last() | Convenient access to the last handler return value. | ResponseCollection |
| setStopped() | Mark the collection as stopped (or its opposite) | ResponseCollection |
| stopped() | Did the last response provided trigger a short circuit of the stack? | ResponseCollection |
Check if any of the responses match the given value.
| Parameter Name | Type | Description |
|---|---|---|
| $value | mixed | The |
Returns: bool
Convenient access to the first handler return value.
Returns: mixed The first handler return value
Convenient access to the last handler return value.
If the collection is empty, returns null. Otherwise, returns value returned by last handler.
Returns: mixed The last handler return value
Mark the collection as stopped (or its opposite)
| Parameter Name | Type | Description |
|---|---|---|
| $flag | bool |
Returns:
Did the last response provided trigger a short circuit of the stack?
Returns: bool